<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>接收的数据是: {{.}}</div>
<div>包含template2.html里面的内容:</div>
{{template "template2.html"}}
<hr/>
<hr/>
<div>将template1.html中得到的数据传入template2.html后, </div>
{{template "template2.html" .}}
</body>
</html>